PRISM

Benchmark
Model:consensus v.1 (MDP)
Parameter(s)N = 4, K = 4
Property:steps_min (exp-reward)
Invocation (default)
./fix-syntax ./prism -javamaxmem 11g -cuddmaxmem 4g -heuristic speed -e 1e-6 -maxiters 1000000 consensus.4.prism consensus.props --property steps_min -const K=4
Execution
Walltime:8.910725116729736s
Return code:0
Relative Error:0.000617011416096875
Log
PRISM
=====

Version: 4.5.dev
Date: Sat Mar 14 15:28:05 UTC 2020
Hostname: e72bdd194fc5
Memory limits: cudd=4g, java(heap)=11g
Command line: prism -javamaxmem 11g -cuddmaxmem 4g -heuristic speed -e 1e-6 -maxiters 1000000 consensus.4.prism consensus.props --property steps_min -const K=4

Parsing model file "consensus.4.prism"...

Type:        MDP
Modules:     process1 process2 process3 process4 
Variables:   counter pc1 coin1 pc2 coin2 pc3 coin3 pc4 coin4 

Parsing properties file "consensus.props"...

5 properties:
(1) "c1": P>=1 [ F "finished" ]
(2) "c2": Pmin=? [ F "finished"&"all_coins_equal_1" ]
(3) "disagree": Pmax=? [ F "finished"&!"agree" ]
(4) "steps_max": R{"steps"}max=? [ F "finished" ]
(5) "steps_min": R{"steps"}min=? [ F "finished" ]

---------------------------------------------------------------------

Model checking: "steps_min": R{"steps"}min=? [ F "finished" ]
Model constants: K=4

Warning: Switching to sparse engine and (backwards) Gauss Seidel (default for heuristic=speed).

Building model...
Model constants: K=4

Computing reachable states...

Reachability (BFS): 195 iterations in 0.17 seconds (average 0.000897, setup 0.00)

Time for model construction: 0.086 seconds.

Type:        MDP
States:      43136 (1 initial)
Transitions: 144352
Choices:     115840

Transition matrix: 2336 nodes (3 terminal), 144352 minterms, vars: 18r/18c/4nd

Prob0A: 57 iterations in 0.17 seconds (average 0.002982, setup 0.00)

Prob1E: 58 iterations in 0.08 seconds (average 0.001414, setup 0.00)

Warning: PRISM hasn't checked for zero-reward loops.
Your minimum rewards may be too low...

goal = 64, inf = 0, maybe = 43072

Computing remaining rewards...
Engine: Sparse

Building sparse matrix (transitions)... [n=43136, nc=115776, nnz=144288, k=4] [2.3 MB]
Building sparse matrix (transition rewards)... [n=43136, nc=115776, nnz=0, k=4] [620.8 KB]
Creating vector for state rewards... [337.0 KB]
Creating vector for inf... [337.0 KB]
Allocating iteration vectors... [2 x 337.0 KB]
TOTAL: [4.2 MB]

Starting iterations...
Iteration 2919: max relative diff=0.000015, 5.00 sec so far

Iterative method: 4613 iterations in 7.96 seconds (average 0.001711, setup 0.07)

Value in the initial state: 767.5261352324376

Time for model checking: 8.073 seconds.

Result: 767.5261352324376 (value in the initial state)


Overall running time: 8.746 seconds.

---------------------------------------------------------------------

Note: There were 2 warnings during computation.